import "dotenv/config";

import sendMail from "../src/mail.js";

(async () => {
  const info = await sendMail({
    from: "部落格的管理员 <2048405518@qq.com>",
    to: "3085702659@qq.com", // 何浩瀚(一位帅哥)同学的邮箱
    subject: "测试邮件",
    html: `<h1>Hello Boy! welcome to my blog</h1>`,
    text: "Hello Boy! welcome to my blog",
  });
  console.log(info);
})();
